package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author zhangshihao
 * @create 2023-03-15 9:43
 */
@Component
public class OrderFallbackService implements OrderHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "----OrderFallbackService fall back paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "OrderFallbackService fall back paymentInfo_TimeOut o(╥﹏╥)o";
    }
}
